package com.baosight.risk.mapper.ridc;

import com.baosight.risk.base.mapper.BaseMapper;
import com.baosight.risk.service.ridc.entity.RidcRiskEvaluate;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.access.method.P;

import java.util.List;

public interface RidcRiskEvaluateMapper extends BaseMapper<RidcRiskEvaluate> {

    Integer deleteRidcRiskEvaluateBydocRidcRiskId(@Param("docRiskId") String docRiskId);

    List<RidcRiskEvaluate> getRidcRiskEvaluateBydocRidcRiskId(@Param("ridcRiskId") String ridcRiskId);


    Integer deleteRidcRiskEvaByIds(@Param("ids") List<String> ids);

    Integer selectMaxRowOrder(@Param("evaluate") RidcRiskEvaluate ridcRiskEvaluate);

    RidcRiskEvaluate selectLess(@Param("evaluate")RidcRiskEvaluate ridcRiskEvaluate);

    RidcRiskEvaluate selectBigger(@Param("evaluate") RidcRiskEvaluate ridcRiskEvaluate);
}